package com.zy.mc_module.mvp.bean;

import java.util.List;

public class PageBean<T> {

    /**
     * total : int //总记录数
     * list : []
     * pageNum : int //第几页
     * pageSize : int //每页记录数
     * pages : int //总页数
     */

    private int total;
    private int pageNum;
    private int pageSize;
    private int pages;
    private List<T> list;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

}
